<?php

class IndexAction extends Action {

    //展示首页信息
	public function index(){

        $carousel = M('carousel');
        $data['carousel'] = $carousel->select();


        $service = M('service');
        $data['service'] = $service->select();



        $news = M('news');
        $data['news'] = $news->select();


        $cases = M('cases');
        $data['cases'] = $cases->select();


        $this->assign($data);
        $this->display();
    }


}